<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>项目投标审批</title>
<link href="../css/main.css" type="text/css" rel="stylesheet"/>

<link href="../EasyUI125/themes/default/easyui.css" rel="stylesheet" type="text/css" />
<link href="../EasyUI125/themes/icon.css" rel="stylesheet" type="text/css" />
<link href="../EasyUI125/themes/default/FixStyle.css" rel="stylesheet" type="text/css" />
<link href="../EasyUI125/themes/default/tipsInfo.css" rel="stylesheet" type="text/css" />
			
<script type="text/javascript" src="../EasyUI125/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="../EasyUI125/yuan_jquery.easyui.min.js"></script>
<script type="text/javascript" src="../EasyUI125/locale/easyui-lang-zh_CN_zh.js"></script>
<script type="text/javascript" src="../EasyUI125/ZTE.JQuery.Core.js"></script>

<script type="text/javascript">
// 表格
$(function(){

   
	
	$(".showtit,.hidetit").click(function(){
	 var t = $(this).parent().parent().parent().next("table");
	 t.toggle();
     if(t.get(0).style.display == "none")
	 {
		 $(this).attr("class","showtit");
	 }
	 else
	 {
		 $(this).attr("class","hidetit");
	 }
});

$('#queryTableList1').datagrid({
		url: 'TB.json',
		height: 130,
		fitColumns: true,
		nowrap:false,
		rownumbers:true,
		columns:[[
			{field:'clo1',title:'反馈人',width:35},
			{field:'clo2',title:'反馈时间',width:25},
			{field:'clo6',title:'项目底价',width:25},
			{field:'clo3',title:'投标状态',width:40},
			{field:'clo4',title:'附件',width:35},
			{field:'clo5',title:'备注',width:35} 
			
		]]
	});


$('#queryTableList').datagrid({
		url: 'audit.json',
		height: 130,
		fitColumns: true,
		nowrap:false,
		rownumbers:true,
		columns:[[
			{field:'clo1',title:'审批人',width:35},
			{field:'clo11',title:'审批结论',width:25},
			{field:'clo2',title:'审批时间',width:40},
			{field:'clo3',title:'审批意见',width:35} 
			
		]]
	});



});

function showInput()
{
	if($("#ckOne").attr("checked"))
	{
		document.getElementById('inputOther').style.display='block';
	}
	else
	{
		document.getElementById('inputOther').style.display='none';
	}
}


function addOptions(obj)
{
  var cloneNode =   $(obj).clone(true);
  cloneNode.appendTo($(obj).parent());
}

function delOptions(obj)
{
  $(obj).remove();
}

function save()
{
  alert("保存成功!");
}

function rowDel(detailNum)
{
    var Container = document.getElementById("materielList");
    var _tr = document.getElementById("item"+detailNum);     
    row = _tr.rowIndex;   
    Container.deleteRow(row);        
} 

function del()
{
    confirm("确定要删除吗?");
}



	
function countChar(textareaId,spanId) 
  {  
	var maxl=500;
	var a = document.getElementById(textareaId);
	var c = a.value.length;
	if ( c > maxl)
	{
		 alert("对不起,字数超限！");
		 a.value=a.value.substr(0,maxl);
		 document.getElementById(spanId).innerHTML = 0;
	}
	else
	{
		 document.getElementById(spanId).innerHTML = maxl - c; 
	}
 
  }   
  
  function show(i)
    {
        if(i==1)
        {
		  document.getElementById('fandian').style.display='none';
        }else if(i==2)
		{
		  document.getElementById('fandian').style.display ='';
		}
	}  


function upload()
  {
   document.getElementById("tr_file").style.display ="";
  }
  function deleteFile()
  {
   document.getElementById("tr_file").style.display ="none";
  }

</script>
</head>
<body>
<div id="content">
  <div id="position">当前位置：项目管理&gt;项目投标&gt;项目投标审批</div>
   
 
   <table cellspacing="0" cellpadding="0" class="tb_title_gray" >
    <tr>
      <td class="hidetit">项目基本信息</td>
    </tr>
  </table>
    <table cellpadding="0" cellspacing="1" class="tb_datalist">
	<thead>
		<tr class="tb_search">
			<td class="td_title">单据状态</td>
			<td>
				审批中
			</td>
			<td class="td_title">当前处理人</td>
			<td>
				处理人1,处理人2
			</td>
		</tr>

	    <tr class="tb_search">
		    <td class="td_title"  width="15%">项目名称</td>
		    <td   width="35%">项目1</td>
		    <td class="td_title" width="15%">项目类型</td>
		    <td width="35%">
		    	大项目
		    </td>
	    </tr>
		<tr class="tb_search">
			<td class="td_title">销售负责人</td>
			<td>
				张三
			</td>
			<td class="td_title">立项部门</td>
			<td>
				销售部门
			</td>
		</tr>
		<tr class="tb_search">
			<td class="td_title">实施负责人（项目经理）</td>
			<td>
				经理李四
			</td>
			<td class="td_title">实施部门</td>
			<td>
				实施部1
			</td>
		</tr>
		<tr class="tb_search">
			<td class="td_title">客户全称</td>
			<td>
				客户1
			</td>
			<td class="td_title">主要供应商</td>
			<td>
				供应商1
			</td>
		</tr>
		<tr class="tb_search">
			<td class="td_title">客户联系人</td>
			<td>
				联系人1
			</td>
			<td class="td_title">联系方式</td>
			<td>
				15970408423
			</td>
		</tr>
		<tr class="tb_search">
			<td class="td_title">项目开始时间</td>
			<td>
			2012-08-01 至2013-08-01 
			</td>
			<td class="td_title">预计完成时间</td>
			<td>
				2012-09-01 至2014-08-01 
			</td>
		</tr>
    </thead>
  </table>
  <br/>
  <table cellspacing="0" cellpadding="0" class="tb_title_gray">
    <tr>
      <td class="showtit">项目描述</td>
    </tr>
  </table>
 <table cellpadding="0" cellspacing="1" class="tb_datalist"  style="display: none">
  <thead>
  
	     <tr class="tb_search">
			<td class="td_title" width="15%">预计签约时间<span class="must">*</span></td>
			<td width="35%"  colspan="3">
				 2013-11-11
			</td>
		</tr>

	    <tr class="tb_search">
		    <td class="td_title" width="15%">项目性质</td>
		    <td width="35%" >
		    服务类
		    </td>
		    <td class="td_title" width="15%">预计开具发票性质</td>
		    <td width="35%" >
		    	服务
		    </td>
	    </tr>


		<tr class="tb_search">
			<td class="td_title">预计项目描述</td>
	        <td colspan="3"  ><textarea name="textarea" rows="4" class="txt_120" id="txtea2"  style="width:60%"  >计项目描述</textarea>
	          (<span id="sp2" style="color:red">5</span>/500字)</td>
		</tr>

		<tr class="tb_search">
			<td class="td_title">项目说明书</td>
			<td colspan="3"><a href='javascript:void(0)' >项目立项报告书</a> &nbsp;<a href='javascript:void(0)' >项目收入成本预测表</a>
		    </td>
		</tr>

		<tr class="tb_search">
			<td class="td_title">项目毛利率说明</td>
			<td colspan="3">
			 如预计项目毛利率低于公司要求时，须对预计毛利率进行特殊说明
			</td>
		</tr>
		<tr class="tb_search">
			<td class="td_title">项目风险分析</td>
	        <td colspan="3"  ><textarea name="textarea" rows="4" class="txt_120" id="txtea2"  style="width:60%" onkeydown='countChar(&quot;txtea2&quot;,&quot;sp2&quot;);' onkeyup='countChar( &quot;txtea2&quot;,&quot;sp2&quot;);'>项目风险分析</textarea>
	          (<span id="sp2" style="color:red">500</span>/500字)</td>
		</tr>
		<tr class="tb_search">
			<td class="td_title">资源需求</td>
	        <td colspan="3"  ><textarea name="textarea" rows="4" class="txt_120" id="txtea2"  style="width:60%" onkeydown='countChar(&quot;txtea2&quot;,&quot;sp2&quot;);' onkeyup='countChar( &quot;txtea2&quot;,&quot;sp2&quot;);'>资源需求</textarea>
	          (<span id="sp2" style="color:red">500</span>/500字)</td>
		</tr>

    </thead>
  </table>

<br/>
  <table cellspacing="0" cellpadding="0" class="tb_title_gray"  >
    <tr>
      <td class="showtit">成本分析预算</td>
    </tr>
  </table>
 <table cellpadding="0" cellspacing="1" class="tb_datalist"  style="display: none">
	<tr class="tb_search">
		    <td class="td_title"  width="15%">预计合同金额<span class="must">*</span></td>
		    <td  width="35%" ><input type="text" name="txtPerson32" class="txt_120"/></td>
		    <td class="td_title"  width="15%">资金占有成本<span class="must">*</span></td>
		    <td  width="35%"   ><input type="text" name="txtPerson32" class="txt_120"/></td>
	</tr>
	
	 <tr class="tb_search">
		    <td class="td_title"  width="15%">项目毛利率<span class="must">*</span></td>
		    <td  width="35%"><input type="text" name="txtPerson32" class="txt_120"/></td>
			<td class="td_title" width="15%">项目利润<span class="must">*</span></td>
			<td width="35%">
				<input name="dateStart2" type="text" class="txt_120"  />
			</td>
		</tr>
		
		<tr class="tb_search">
		    <td class="td_title"  width="15%">营业税及附加<span class="must">*</span></td>
		    <td  width="35%"><input type="text" name="txtPerson32" class="txt_120"/></td>
			<td class="td_title" width="15%">采购成本<span class="must">*</span></td>
			<td width="35%">
				<input name="dateStart2" type="text" class="txt_120"  />
			</td>
		</tr>
		<tr class="tb_search">
		    <td class="td_title"  width="15%">人力费用<span class="must">*</span></td>
		    <td  width="35%" ><input type="text" name="txtPerson32" class="txt_120"/></td>
			 <td class="td_title"  width="15%">售前费用<span class="must">*</span></td>
		    <td  width="35%" ><input type="text" name="txtPerson32" class="txt_120"/></td>
		</tr>

		<tr class="tb_search">
		    <td class="td_title"  width="15%">项目外包费用<span class="must">*</span></td>
		    <td  width="35%" ><input type="text" name="txtPerson32" class="txt_120"/></td>
			 <td class="td_title"  width="15%">项目运营费用<span class="must">*</span></td>
		    <td  width="35%" ><input type="text" name="txtPerson32" class="txt_120"/></td>
		</tr>
   </table>

	</br>
    <table cellspacing="0" cellpadding="0" class="tb_title_gray" >
    <tr>
      <td class="hidetit">审批信息</td>
    </tr>
  </table>

  <table cellpadding="0" cellspacing="1" class="tb_datalist" >
	  
	    <tr class="tb_search">
		    <td class="td_title" width="15%">审批意见<span class="must">*</span></td>
		    <td width="35%">
		    	<input type="radio" name="resouce" />同意
		        <input type="radio" name="resouce" />拒绝
		        <input type="radio" name="resouce" />驳回
		        <input type="radio" name="resouce" />转移
		       
		    </td width="35%">
		    <td class="td_title" width="15%">转移人</td>
		    <td>
		    	<input type="text" name="txtPerson32" class="txt_120"/>
				<img src="../images/icons/search2.gif" alt="选择销售负责人" style="cursor:pointer"  onclick="openwin('../formStyle/oneChannel.html','',650,400)"/>
		    </td>
	    </tr>

		<tr class="tb_search">
			<td class="td_title">审批结论<span class="must">*</span></td>
	        <td colspan="3"  ><textarea name="textarea" rows="4" class="txt_120" id="txtea2"  style="width:60%" onkeydown='countChar(&quot;txtea2&quot;,&quot;sp2&quot;);' onkeyup='countChar( &quot;txtea2&quot;,&quot;sp2&quot;);'></textarea>
	          (<span id="sp2" style="color:red">0</span>/200字)</td>
		</tr>

 </table>

 </br>
    <table cellspacing="0" cellpadding="0" class="tb_title_gray" >
    <tr>
      <td class="hidetit">反馈信息历史记录</td>
    </tr>
  </table>
  
<table cellpadding="0" cellspacing="1" class="tb_datalist"    >
	<tr class="tb_search"><td>
	<table  cellpadding="0" cellspacing="1" class="tb_datalist"  id="queryTableList1" class="scrolldiv" style="display: ; margin-top: 5px">
	</table></td></tr>
</table>


  </br>
    <table cellspacing="0" cellpadding="0" class="tb_title_gray" >
    <tr>
      <td class="hidetit">审批历史记录</td>
    </tr>
  </table>
  
<table cellpadding="0" cellspacing="1" class="tb_datalist"    >
	<tr class="tb_search"><td>
	<table  cellpadding="0" cellspacing="1" class="tb_datalist"  id="queryTableList" class="scrolldiv" style="display: ; margin-top: 5px">
	</table></td></tr>
</table>


<div align="right">
	 
     <input type="button" class="button" id="btnSave" value="提交" onclick="save();"/>
    <input type="button" class="button" id="btnCancle" value="取消" onclick="window.close();"/>

</div>
 

</div>
</body>
</html>
